
Ext.define('Holo.model.Contenu', {
    extend: 'Ext.data.Model',
    fields: [
	          {name: 'id',  type: 'string'},
	          {name: 'lib',  type: 'string'},
	          {name: 'type',  type: 'string'},
	          {name: 'panneau_id',  type: 'string'}
	         ],
	      
    proxy: {
        type: 'ajax',
        url: 'data/contenus.xml',
        reader: {
        	type: 'xml',
            root: 'panneau',
            record: 'contenu'
        }
    }
});



